//
//  HotRecommendCollectionViewCell.m
//  TestApplication
//
//  Created by Hanlingyu on 16/8/30.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import "HotRecommendCollectionViewCell.h"
//#import "Img.h"
//#import "UIImageView+WebCache.h"

@interface HotRecommendCollectionViewCell ()

@end

@implementation HotRecommendCollectionViewCell

- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    self = [super initWithCoder:aDecoder];
    if (self) {
                
    }
    return self;
}

- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView {
    
    _hotImageView = [[UIImageView alloc] initWithFrame:self.contentView.bounds];
    _hotImageView.backgroundColor = [UIColor yellowColor];
    [self.contentView addSubview:_hotImageView];
    
    
}

- (void)layoutSubviews {
    [super layoutSubviews];
    _hotImageView.frame = self.contentView.bounds;
}



/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
